# coding=utf-8
import __builtin__
import os
def open(path):
    f = __builtin__.open(path, 'r')
    return UpperCaser(f)

class UpperCaser:
    '''Wrapper around a file that converts output to upper-case.'''

    def __init__(self, f):
        self._f = f

    def read(self, count=-1):
        return self._f.read(count).upper()

    # ...
    
if __name__ == '__main__':
    open(os.path.dirname(os.path.dirname(__file__)))
